package mvc.mainPage;

import java.util.List;
//import java.util.Set;

//import domain.Message;
import domain.Room;
import domain.User;
import mvc.IModel;

public class MainModel implements IModel {
	private String userLogin;
	private String userPassword;
	private String errorMessage;

	private List<Room> rooms;
	private List<String> messages;
	private List<String> usersOnline;

	private Integer currentRoomId;
	private Integer currentUserId;
	
	private Room currentRoom;
	private User currentUser;
	
	
	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserLogin() {
		return userLogin;
	}

	public void setUserLogin(String userLogin) {
		this.userLogin = userLogin;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public List<Room> getRooms() {
		return rooms;
	}

	public void setRooms(List<Room> rooms) {
		this.rooms = rooms;
	}

	public List<String> getMessages() {
		return messages;
	}

	public void setMessages(List<String> messages) {
		this.messages = messages;
	}

	public List<String> getUsersOnline() {
		return usersOnline;
	}

	public void setUsersOnline(List<String> usersOnline) {
		this.usersOnline = usersOnline;
	}

	public Integer getCurrentRoomId() {
		return currentRoomId;
	}

	public void setCurrentRoomId(Integer currentRoomId) {
		this.currentRoomId = currentRoomId;
	}

	public Integer getCurrentUserId() {
		return currentUserId;
	}

	public void setCurrentUserId(Integer currentUserId) {
		this.currentUserId = currentUserId;
	}
		
	public Room getCurrentRoom() {
		return currentRoom;
	}

	public void setCurrentRoom(Room currentRoom) {
		this.currentRoom = currentRoom;
	}

	public User getCurrentUser() {
		return currentUser;
	}

	public void setCurrentUser(User currentUser) {
		this.currentUser = currentUser;
	}

	
	
}
